﻿using System;
using Newtonsoft.Json;

namespace JustinAngel.UnitedNationsNews.ServerModel
{
    public class RssItem
    {
        public string Section { get; set; }

        public string Title { get; set; }

        public string Description { get; set; }

        public RssContentItem ImageUrl { get; set; }

        public RssContentItem Html { get; set; }

        //[JsonProperty("y:published")]
        //public string PublicationDate { get; set; }

        public Uri Link { get; set; }

        public RssEnclosure Enclosure { get; set; }

        [JsonProperty("media:group")]
        public RssMediaGroup MediaGroup { get; set; }
    }
}